package com.uriuniv.service;

import java.sql.SQLException;
import java.util.List;

import com.uriuniv.dao.GroupD;
import com.uriuniv.dao.StudentD;
import com.uriuniv.dao.UniversityD;
import com.uriuniv.domain.Group;
import com.uriuniv.domain.Student;
import com.uriuniv.domain.University;

public class GroupS {
	
	private GroupD groupD;

	public void setGroupD(GroupD groupD) {
		this.groupD = groupD;
	}
	
	public Group getGroupByName(String groupName) {
		
		Group group = null;
		
		try {
			group = groupD.getGroupByName(groupName);
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		return group;
		
	}
	
}
